package org.i1510.joeone.dao;
import org.i1510.common.dao.IBaseJpaDao;
import org.i1510.joeone.po.JoeoneConf;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
@Repository
public interface IJoeoneConfDao extends IBaseJpaDao<JoeoneConf, String>{ 
    @Query("SELECT a from JoeoneConf a WHERE a.docStatus =:docStatus") 
    public JoeoneConf findByDocStatus(@Param("docStatus")String docStatus); 
/********************以下是标准接口*********************************************************/    
    @Query("SELECT a from JoeoneConf a WHERE a.docId =:docId") 
     public JoeoneConf findById(@Param("docId")String docId); 
/********************以上是标准接口*********************************************************/    
}
 